php remove non numeric

35

php remove non numeric -

$res = preg_replace("/[^0-9]/", "", "Every 6 Months" );

Comments

Submit
0 Comments